﻿using Npoi.Mapper.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TulingMember.Application.Dto
{
    /// <summary>
    /// 药品出入库统计
    /// </summary>
    public class ProductStatisticsDto
    {
        [Column("药品ID")]
        public long Id { get; set; }
        [Column("药品名称")]
        public string Name { get; set; }
        [Column("库存数量")]
        public decimal Num { get; set; }
        [Column("规格")]
        public string Specification { get; set; }
        [Column("剂型")]
        public string Formulations { get; set; }
        [Column("备注")]
        public string Description { get; set; }
        [Column("有效期至")]
        public DateTime ExpirationDate { get; set; }
        [Column("入库次数")]
        public int PurchaseVisits { get; set; }
        [Column("入库数量")] 
        public int PurchaseNum { get; set; }
        [Column("入库金额(元)")]
        public decimal PurchaseAmount { get; set; }
        [Column("出库次数")] 
        public int SaleVisits { get; set; }
        [Column("出库数量")]
        public int SaleNum { get; set; }
        [Column("出库金额(元)")]
        public decimal SaleAmount { get; set; }
    }
}
